package com.ksd.control.result;

public class BaseResult {
    private String result;
    private String message;

    public String getResult() {
        return result;
    }

    public BaseResult setResult(ResultParam resultParam) {
        this.result = resultParam.getValue();
        return this;
    }

    public String getMessage() {
        return message;
    }

    public BaseResult setMessage(String message) {
        this.message = message;
        return this;
    }

    @Override
    public String toString() {
        return "BaseResult{" +
                "result='" + result + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
